package cn.admin.service;

import cn.admin.entity.Power;

import java.util.List;

/**
 * @Author: 毛苏宇
 * @Description: You can do it!
 * @Date: Create in 12:37 2019/3/24
 */
public interface PowerService {

    /**
     * 得到全部权限
     * @param adminId
     * @return
     */
    List<Power> getPower(int adminId);


    /**
     * 插入权限
     * @param power
     * @return
     */
    boolean addPower(List<Power> power);

}
